#ifndef MIRRORIMAGESETTINGSFORM_H
#define MIRRORIMAGESETTINGSFORM_H

#include <QWidget>

namespace Ui {
class MirrorImageSettingsForm;
}

class MirrorImageSettingsForm : public QWidget
{
    Q_OBJECT

public:
    explicit MirrorImageSettingsForm(QWidget *parent = nullptr);
    ~MirrorImageSettingsForm();

    // 设置镜像方式
    void setMirrorMode(bool horizontal, bool vertical);

    // 获取镜像方式
    void mirrorMode(bool &horizontal, bool &vertical) const;

 signals:
    // 当设置改变时发出信号
    void settingsChanged();

private slots:
    // 下拉列表框选择改变槽函数
    void on_mirrorModeComboBox_currentIndexChanged(int index);

private:
    Ui::MirrorImageSettingsForm *ui;
    bool m_horizontalMirror;
    bool m_verticalMirror;
};

#endif // MIRRORIMAGESETTINGSFORM_H